#define _CRT_SECURE_NO_WARNINGS
#include"reserve_iterator.h"

namespace bear
{
	void test()
	{
		list<int> v1;
		v1.push_back(1);
		v1.push_back(2);
		v1.push_back(3);
		v1.push_back(4);
		list<int>::reserve_iterator it = v1.begin();
		while (it != v1.end())
		{
			cout << (*it) << ' ';
			++it;
		}
	}
}
int main()
{
	bear::test();
	return 0;
}